package com.capgemini.wechat.service;

import com.capgemini.core.AppContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by annson on 2016/8/8.
 */
public class ProcessOrderInfoThread extends Thread {
    private static Logger log = LoggerFactory.getLogger(ProcessOrderInfoThread.class);

    @Override
    public void run(){
        log.info("start process order info.....");
        SaleOrderService saleOrderService = AppContext.getBean(SaleOrderService.class);
        saleOrderService.processSaleOrderInfoForToday();

        log.info("process order info end.");
    }
}
